package com.allinpay.merchantweb.redismodel;

/**
 *  登录外部请求参数
 * @date 2018-03-14
 *
 */
public class RedisLoginParam extends RedisData{

	/**
	 * 
	 */
	private static final long serialVersionUID = 217244799084476883L;

	/**
	 * appId
	 */
	private String appId;
	
	/**
	 * 回调地址
	 */
	private String backUrl;
	
	/**
	 * 推荐人手机号
	 */
	private String referrerPhone;
	
	
	/**
	 * 推荐来源
	 */
	private String recSource;
	
	/**
	 * 注册来源
	 */
	private String registerSource;
	
	private String appAuthToken;

	private String sessionid;
	
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getReferrerPhone() {
		return referrerPhone;
	}

	public void setReferrerPhone(String referrerPhone) {
		this.referrerPhone = referrerPhone;
	}

	public String getRecSource() {
		return recSource;
	}

	public void setRecSource(String recSource) {
		this.recSource = recSource;
	}

	public String getRegisterSource() {
		return registerSource;
	}

	public void setRegisterSource(String registerSource) {
		this.registerSource = registerSource;
	}

	public String getBackUrl() {
		return backUrl;
	}

	public void setBackUrl(String backUrl) {
		this.backUrl = backUrl;
	}
	
	
	public String getAppAuthToken() {
		return appAuthToken;
	}

	public void setAppAuthToken(String appAuthToken) {
		this.appAuthToken = appAuthToken;
	}
	
	

	public String getSessionid() {
		return sessionid;
	}

	public void setSessionid(String sessionid) {
		this.sessionid = sessionid;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", appId=").append(appId);
        sb.append(", backUrl=").append(backUrl);
        sb.append(", referrerPhone=").append(referrerPhone);
        sb.append(", recSource=").append(recSource);
        sb.append(", registerSource=").append(registerSource);
        sb.append(", appAuthToken=").append(appAuthToken);
        sb.append("]");
        return sb.toString();
    }
}
